package com.readytheory.thisisstupid;

import javax.ws.rs.Path;
import javax.ws.rs.GET;
import javax.ws.rs.Produces;

@Path("hi")
public class HappyHello {
    public static final String CLICHED_MESSAGE = "Hello you H2!";
    private int messageCount;



@GET
@Produces("text/plain")
    public String getHello() {
    messageCount = new BlowoutBumper().addOne();
    return CLICHED_MESSAGE + "\n" +
	String.format("There are %d Messages\n", messageCount);
	
    }
}